/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package box2;
class Box2{
    int width;
    int height;
    int depth;
    void calculateVolume(){
        System.out.print("Volume is ");
        System.out.println(width *height * depth);
    }
    void calculateArea(){
        System.out.print("Area is");
        System.out.println(width * height);
    }
    int calculateArea(int a){
        return width* width;
        
        
    }
    public static void main(String args[]){
        
        Box2 mybox2 =new Box2();
        mybox2.width=10;
        mybox2.height=20;
        mybox2.depth=15;
        mybox2.calculateVolume();
        
        mybox2.calculateArea();
        int area;
        area=mybox2.calculateArea(10);
        System.out.println("Area del quadrato:" + area);
        
        system.out.println("Operation aritmetiche di tipo intero: \n");
                
              
    }
        
        
      
    
    }
 
/**
 *
 * @author edoardo.frizziero
 */
public class box2 {
    
}
